package com.srit.recipes.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

@Table
@Entity
@Getter
@Setter
public class WeekRecipesDetail extends RecipesId {

    public static final String breakfast = "breakfast";
    public static final String lunch = "lunch";
    public static final String dinner = "dinner";


    /**
     * 食谱id
     */
    @Column
    private int weekRecipesId;

    /**
     * 1 - 7 周一 ~ 周日
     */
    @Column
    private int week;

    /**
     * 菜品id
     */
    @Column
    private String recipesId;

    @Column
    private float rate = 1;

    /**
     * 早中晚餐
     */
    @Column
    private String time;

    /**
     * D1 - D15
     */
    @Column
    private String type;

    @Column
    private String recipesName;



}
